//
//  ListView.h
//  HappyTravel
//
//  Created by JiePan’s Mac on 2018/8/6.
//  Copyright © 2018年 Apple. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ListView;

@protocol ListViewDelegate <NSObject>

@optional
/**
 返回选择的时间字符串
 
 @param pickerView pickerView
 @param dateString 时间字符串
 */
- (void)pickerView:(ListView *)pickerView didSelectDateString:(NSString *)dateString;

@end

@interface ListView : UIView


@property(nonatomic, copy)NSArray *  mageSeptemberMage;
@property(nonatomic, assign)CGFloat  viewsNeView;
@property(nonatomic, copy)NSArray *  did;



@property (nonatomic, weak) id <ListViewDelegate> delegate;

/**
 设置确定按钮颜色
 */
@property (nonatomic, strong) UIColor *rightBarColor;

/**
 设置toolbar背景色
 */
@property (nonatomic, strong) UIColor *toolBarTintColor;

/**
 初始化HTDatePickerView
 
 @param date 默认时间
 @param datePickerMode 时间显示格式
 @return ZHDatePickerView
 */
- (instancetype)initDatePickerWithDefaultDate:(NSDate *)date
                               datePickerMode:(UIDatePickerMode)datePickerMode;

/**
 移除TMDatePickerView
 */
- (void)cellHeightWithModel;

/**
 显示TMDatePickerView
 */
- (void)show;

@end
